package controllers

import (
	"github.com/gin-gonic/gin"
	"net/http"
)

//初始页面
func ShowIndex(c *gin.Context) {
	c.String(http.StatusOK, "Hello World!")
}

func TestPost(c *gin.Context) {
	//返回结果
	c.JSON(http.StatusOK, gin.H{
		"success": "post success",
	})
}